package com.sofwin.ruoyi.scyffinal.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@TableName("s_test")
public class Test {

    public Test(String name){
        this.name=name;
    }
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
}